

/*app.filter("myFilter", function() {
	return function(cc) {
		console.info(cc) ;
		return cc ;
	} ;
});*/

//注入自定义的Service
app.filter("myFilter", ["myService", function(myService) {
	return function(cc) {
		return myService.myFunc(cc);
	}
}]);

app.filter("formatDate", function() {
	return function(theTime) {
		console.info(new Date(theTime).toLocaleTimeString());
		return new Date(theTime).toLocaleTimeString();
	};
});



